package com.diamond.facade;

import java.util.List;

import com.diamond.bo.UserFunctionBO;
import com.diamond.service.IUserFunctionService;

public class UserFunctionFacade extends CommonFacade<UserFunctionBO> {

	public IUserFunctionService userFunctionService;

	public void setUserFunctionService(IUserFunctionService userFunctionService) {
		this.userFunctionService = userFunctionService;
	}

	public Boolean saveOrUpdateUserFunction(String userId, List<UserFunctionBO> userFunctionBolist) throws Exception {
		return userFunctionService.saveOrUpdateUserFunction(userId, userFunctionBolist);
	}
	
	public List<UserFunctionBO> queryUserFunction(String userId) throws Exception {
		return userFunctionService.queryUserFunction(userId);
	}
}
